<h1>Edit Unit</h1>
<p>Please enter the unit information below.</p>
<?php if(!empty($message)){?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php echo $message;?></div>
<?php }?>
<?php echo form_open(current_url());?>
<table width="60%" align="center" class="table-condensed"> 
	<tr>
		<td width="15.5%">Unit Name: </td>
          <td colspan="2"><?php echo form_input($name);?></td>
	</tr>
	<tr>
		<td width="15.5%">Unit Description:</td>
          <td colspan="2"><?php echo form_input($description);?></td>
	</tr>
	<tr>
        <td>
	        <?php echo form_hidden('id', $user->id);?> 
        </td>
    </tr>
	<tr>
		<td width="15.5%">Unit Remarks:</td>
          <td colspan="2"><?php echo form_input($remarks);?></td>
	</tr>
	<tr>
		<td width="15.5%">Unit Entry By:</td>
          <td colspan="2"><?php echo form_input($entryby);?></td>
	</tr>
	  <tr>
          <td colspan="3"><?php echo form_submit($submit,'class="btn btn-success"');?></td>
	</tr>
</table> 
<?php echo form_close();?>